WPTravelEngine\Plugin D

Total Complexity 149
Dependencies 47
Dependents 2
Total lines 1,718
Lines of code 972
Logical lines of code 550
Comment lines 510
Methods 37
Properties 3

Methods 37

Method Rating Maintainability Complexity Lines of code
hooks()
D
17
40 277
body_class()
A
45 13 40
plugins_loaded()
A
48 10 31
process_booking()
A
52 8 24
load_dependencies()
S
43 4 52
define_admin_hooks()
S
39 3 64
render_cost_summary()
S
51 5 27
initialize_freemius()
S
46 4 40
__construct()
S
46 4 37
save_post_customer()
S
54 5 21
check_version()
S
61 5 13
render_total_amounts()
S
53 4 26
define_public_hooks()
S
46 3 36
wte_extra_services_email_tags()
S
49 3 33
add_init_hooks()
S
49 3 32
get_package_name()
S
60 4 13
render_traveller_pricing()
S
53 3 25
render_extra_services()
S
53 3 25
render_trip_dates()
S
57 3 19
booking_dashboard_notice()
S
54 2 23
add_booking_modal_container()
S
57 2 17
autoload()
S
58 2 15
modify_role_display()
S
70 2 6
define_constants()
S
59 1 15
set_locale()
S
61 1 12
plugin_headers()
S
71 1 6
load_post_type()
S
82 1 3
wte_login_integration()
S
80 1 3
rest_api_init()
S
68 1 7
run()
S
82 1 3
get_plugin_name()
S
82 1 3
get_loader()
S
82 1 3
get_version()
S
82 1 3
init_shortcodes()
S
67 1 9
set_cart()
S
79 1 3
plugin_inline_update_notices()
S
82 1 3
set_class_aliases()
S
80 1 3